package com.tarena.lbs.basic.web.repoistory;

import com.tarena.lbs.base.protocol.pager.BasePageList;
import com.tarena.lbs.pojo.basic.bo.StoreBO;
import com.tarena.lbs.pojo.basic.param.StoreParam;
import com.tarena.lbs.pojo.basic.query.AreaStoreQuery;
import com.tarena.lbs.pojo.basic.query.StoreQuery;

public interface StoreRepository {
    BasePageList<StoreBO> storeList(StoreQuery query);

    Integer saveStore(StoreParam storeParam);

    BasePageList<StoreBO> getStoresByAreasAndBusiness(Integer id, AreaStoreQuery query);
}
